package com.jerry.junit;

import java.util.TreeSet;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.jerry.aop.TargetClass;


/*
 *  继承公共测试方法
 *  
 */
public class AopMain extends TestMybatis {
	
	
	@Test
	public void aopTest() {
		
		ApplicationContext context = new ClassPathXmlApplicationContext("classpath:application.xml");
		TargetClass target = (TargetClass)context.getBean("tragetClass");
		
		// 目标类信息 DOBBO
		target.select();
		
		int a;// 栈中
		TreeSet<String> tr = new TreeSet<String>();
		
		tr.add("");

		Object object = null;
	}

}
